package com.xxx.pojo;

import com.lmax.disruptor.EventFactory;

/**
 * 工厂模式：创建消息体工厂
 */
public class HelloEventFactory implements EventFactory<MessageModel> {

    @Override  
    public MessageModel newInstance() {  
        return new MessageModel();  
    }

}  